package com.platform.common.property;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.time.Duration;
import java.util.Map;

/**
 * @author GH
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "cloud.cache")
public class CacheTypeProperties {
    private Map<String, Duration> cacheConfig;
}